import http from '/@/utils/http';

export const getCompanyInfo = async () => {
  return await http.get('/user/mobile/companyInfo/getCompanyInfo')
}

export const updateCompanyInfo = async (params:any) => {
  return await http.put('/user/mobile/companyInfo/updateCompanyInfo', params)
}

export const getMsgTemplateList = async () => {
  return await http.get('/system/mobile/sysMessageTemplate/msgTemplateList')
}

export const editTemplate = async (params:any) => {
  return await http.put('/system/mobile/sysMessageTemplate/editTemplate', params)
}

export const updateOpenFlag = async (params:any) => {
  return await http.putUrlForm('/system/mobile/sysMessageTemplate/updateOpenFlag', params)
}